#ifndef MYCUSTOMSCENE_H
#define MYCUSTOMSCENE_H

#include <QObject>
#include <QGraphicsScene>
#include <QGraphicsSceneMouseEvent>

class MyCustomScene : public QGraphicsScene
{
    Q_OBJECT
public:
    explicit MyCustomScene(QObject *parent = nullptr);
    virtual ~MyCustomScene();

signals:
    void signalMouseClickPos(QPointF pos);
    void signalMouseMovePos(QPointF pos);

protected:
    void mouseReleaseEvent(QGraphicsSceneMouseEvent *event) override;
    void mouseMoveEvent(QGraphicsSceneMouseEvent *event) override;

};

#endif // MYCUSTOMSCENE_H
